-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: split Contacts.ts file and its tests into separate files for every function #33698
chore: split Contacts.ts file and its tests into separate files for every function #33698
Conversation
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/single-contact-id #33698 +/- ##
==========================================================
+ Coverage 74.51% 75.39% +0.88%
==========================================================
Files 485 491 +6
Lines 21361 21155 -206
Branches 5407 5344 -63
==========================================================
+ Hits 15917 15950 +33
+ Misses 4796 4568 -228
+ Partials 648 637 -11
Flags with carried forward coverage won't be shown. Click here to find out more. |
6e5180c
to
6fe3dfb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
frontend perfect
b4acee8
into
feat/single-contact-id
Proposed changes (including videos or screenshots)
I'm splitting the Contacts.ts file into a different file for each function. The only function that I actually changed was
registerContact
(renamed contactId to visitorId and replaced meteor/check with an inline assertion). Everything else is unchanged other than the function locations.I also added a few new unit tests.
Issue(s)
Steps to test or reproduce
Further comments
The failing UI test is failing in the base branch.